package com.eshop.modules.system.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.system.service.dto.JobDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.system.service.dto.JobQueryCriteria;
import com.eshop.modules.system.domain.Job;
import com.eshop.common.service.BaseService;

public interface JobService extends BaseService<Job>
{
    Map<String, Object> queryAll(final JobQueryCriteria criteria, final Pageable pageable);
    
    List<Job> queryAll(final JobQueryCriteria criteria);
    
    void download(final List<JobDto> all, final HttpServletResponse response) throws IOException;
}
